getGender

abstract fun getGender(): GenderType

Gets the gender of the user. The specific representation of gender (e.g., enum, string codes) is defined by the GenderType.

Return

The user's gender, represented by GenderType. Returns null if the gender is not specified or not available.

See also

// Assuming GenderType is a defined enum/class (e.g., MALE, FEMALE, OTHER, UNSPECIFIED)